package com.YCH.model.mappers.app;

import com.YCH.model.article.pojos.TbArticleCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbArticleCategoryMapper {
    List<TbArticleCategory> selectByUserIdAndParentId (@Param("userId")Long userId, @Param("parentId")Long parendId);
    Integer insert(TbArticleCategory tbArticleCategory);
    Integer delete(Long id);
    Integer update(@Param("id")Long id,@Param("name")String name);
}
